package com.bristua.barcode.order.dao;

import com.bristua.barcode.order.model.TPayOrder;
import com.bristua.barcode.order.model.condition.TPayOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TPayOrderMapper {
    long countByExample(TPayOrderExample example);

    int deleteByExample(TPayOrderExample example);

    int deleteByPrimaryKey(String orderId);

    int insert(TPayOrder record);

    int insertSelective(TPayOrder record);

    List<TPayOrder> selectByExample(TPayOrderExample example);

    TPayOrder selectByPrimaryKey(String orderId);

    int updateByExampleSelective(@Param("record") TPayOrder record, @Param("example") TPayOrderExample example);

    int updateByExample(@Param("record") TPayOrder record, @Param("example") TPayOrderExample example);

    int updateByPrimaryKeySelective(TPayOrder record);

    int updateByPrimaryKey(TPayOrder record);

    int batchUpdate(@Param("recordList") List<TPayOrder> recordList);

    int batchInsert(@Param("recordList") List<TPayOrder> recordList);

    int batchDelete(@Param("ids") String[] ids);
}